<!-- templates/403.html -->
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>无权限访问</title>
    <style>
        .container {
            text-align: center;
            margin-top: 100px;
            font-family: "Microsoft YaHei", sans-serif;
        }
        h1 {
            color: #dc3545;
            font-size: 36px;
            margin-bottom: 20px;
        }
        p {
            font-size: 18px;
            color: #666;
            margin-bottom: 30px;
        }
        .back-btn {
            padding: 10px 20px;
            background-color: #007bff;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            font-size: 16px;
        }
        .back-btn:hover {
            background-color: #0056b3;
            color: white;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>403 - 您没有访问该页面的权限</h1>
        <p>您当前的权限无法访问「{{ request.path }}」页面，请联系管理员获取相应权限。</p>
        <a href="javascript:history.back()" class="back-btn">返回上一页</a>
        <a href="/" class="back-btn" style="margin-left: 20px;">返回首页</a>
    </div>
</body>
</html>
